#http://www.pythonchallenge.com/pc/def/ocr.html

ocr = Hash.new(0)

File.open('ocr.data').each do |line|
  line.chars.to_a.each{|c| ocr[c] += 1}
end

ocr.each_pair{|k, v| print k if v == 1}
